/* common Routes */
/* login register 403 404*/
const commonRoutes = [
	/* login/register */
	{
		path: '/user',
		component: {
			render: (h) => h('router-view'),
		},
		children: [
			{
				path: '/user',
				redirect: '/user/login',
			},
			{
				path: '/user/login',
				name: 'login',
				component: () =>
					import(/* webpackChunkName: "user" */ '@v/User/Login'),
			},
			{
				path: '/user/register',
				name: 'register',
				component: () =>
					import(/* webpackChunkName: "user" */ '@v/User/Register'),
			},
		],
	},
]

export default commonRoutes
